package cn.edu.scau.cmi.dengzejun.chapter06;

public class Example6_8 {
	public static void main(String agrs[]) {
		Animals animal =new Dog();
		animal.cry();
		animal=new Cat();
		animal.cry();
		return;
	}
}
